let count = 0
for(let i=1; i<=9; i++){
    for(let j=i+1;j<=10; j++){
        count += 1
    }
}
console.log(count)